package com.gotokeep.keep.composition.track;

import android.support.annotation.NonNull;

import com.gotokeep.keep.composition.source.MediaSource;

/**
 * @author xana/cuixianming
 * @version 1.0
 * @since 2018-04-26 11:12
 */
public final class MediaTrack implements Comparable<MediaTrack> {

    protected long startUs;
    protected long endUs;
    protected float speed = 1.0f;

    protected MediaSource mediaSource;

    public void renderFrame(int frame) {

    }

    @Override
    public int compareTo(@NonNull MediaTrack o) {
        return (int) Math.signum(startUs - o.startUs);
    }
}
